package com.alcatel_lucent.osp.service;

import com.alcatel_lucent.osp.model.Attachment;
import com.alcatel_lucent.osp.model.Comment;
import com.alcatel_lucent.osp.model.Request;
import com.alcatel_lucent.osp.model.RequestStatus;
import com.alcatel_lucent.osp.model.User;

import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.sql.SQLException;
import java.util.Collection;

public interface AttachmentService {
    Attachment findAttachmentById(Long Id);
    InputStream getAttachmentInputStream(Long Id) throws SQLException, IOException;
    Attachment createAttachment(Attachment attachment);
}
